package com.framework.view.indicator.listener;

import com.framework.view.indicator.BaseIndicatorAdapter;

/**
 * 简单的滑动事件回调类
 *
 * @author liangzx
 * @version 1.0
 * @time 2020-01-09 16:40
 **/
public abstract class OnSimpleScrollResultListener implements OnScrollResultListener {

    @Override
    public void onEntering(BaseIndicatorAdapter adapter, int index, int totalCount, float enterPercent, boolean leftToRight) {
    }

    @Override
    public void onLeaving(BaseIndicatorAdapter adapter, int index, int totalCount, float leavePercent, boolean leftToRight) {
    }

    @Override
    public void onSelected(BaseIndicatorAdapter adapter, int index, int totalCount) {
    }

    @Override
    public void onCancelSelected(BaseIndicatorAdapter adapter, int index, int totalCount) {
    }

    /**
     * 点击标题事件
     *
     * @param position
     */
    public void onTitleClick(int position) {
    }
}
